From: Keir Fraser Date: Thu, 12 Mar 2009 11:26:32 +0000 (+0000) Subject: x86: Fix a typo in vpmu_core2.c X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13992^2~88 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=f7775593955ba58b2d73dd000fbc552dd69a6f7a;p=xen.git x86: Fix a typo in vpmu_core2.c When the HVM guest which is xenoprof's passive domain, is going to shutdown, the Hypervisor panics because of typo in vpmu_core2.c Signed-off-by: Kazuhiro Suzuki --- diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c b/xen/arch/x86/hvm/vmx/vpmu_core2.c index ff1783b2c0..240f1bf7ba 100644 --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c @@ -481,7 +481,7 @@ static void core2_vpmu_destroy(struct vcpu *v) struct vpmu_struct *vpmu = vcpu_vpmu(v); struct core2_vpmu_context *core2_vpmu_cxt = vpmu->context; - if ( !vpmu->flags & VPMU_CONTEXT_ALLOCATED ) + if ( !(vpmu->flags & VPMU_CONTEXT_ALLOCATED) ) return; xfree(core2_vpmu_cxt->pmu_enable); xfree(vpmu->context);